home *** CD-ROM | disk | FTP | other *** search
- PROGRAM Show(input,output,picfile);
-
- { Copyright (c) 1987, Ciarcia's Circuit Cellar }
- { All Rights Reserved }
-
- {$U- control-break checking during execution }
- {$C- control-break checking during I/O operations }
- {$R- array range checking }
-
- {$Ideclares.p declarations }
- {$Ihexutil.p hex utilities }
- {$Iserial.p serial interface code }
- {$Ipictures.p picture file code }
- {$Iimages.p image processing }
-
- BEGIN
-
- LowVideo;
-
- ComOn(bitsec); { set up serial port }
-
- pic1 := NIL; { ensure new alloc }
- PicSetup(pic1); { set up picture array }
-
- filespec := GetFSpec(ParamStr(1));
-
- LoadPicture(filespec,pic1); { read picture }
-
- Writeln('Sending picture to display...');
- SendPicture(pic1); { show on screen }
-
- END.